/*
 * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#pragma once

#ifndef __LED_H
#define __LED_H

#include "sdkconfig.h"
// #include "E:\esp32\sdk\v5.3.2\esp-idf\components\esp_driver_gpio\include\driver" 
#include "driver/gpio.h"    // E:\esp32\sdk\v5.3.2\esp-idf\components\esp_driver_gpio\include\driver

/* Can use project configuration menu (idf.py menuconfig) to choose the GPIO to blink,
   or you can edit the following line and set a number here.
*/

// gpio 4 作为led的的控制引脚
#define BLINK_GPIO  GPIO_NUM_4

void led_init(void);
void led_on(void);
void led_off(void);

#endif


